package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@Table(name = "mall_freight")
public class MallFreight {
    @Id
    @Column(name = "freight_id")
    private Integer freightId;

    private String area;

    @Column(name = "start_price")
    private BigDecimal startPrice;

    @Column(name = "end_price")
    private BigDecimal endPrice;

    private String remarks;

    /**
     * 店铺id
     */
    @Column(name = "shop_id")
    private Integer shopId;

    /**
     * @return freight_id
     */
    public Integer getFreightId() {
        return freightId;
    }

    /**
     * @param freightId
     */
    public void setFreightId(Integer freightId) {
        this.freightId = freightId;
    }

    /**
     * @return area
     */
    public String getArea() {
        return area;
    }

    /**
     * @param area
     */
    public void setArea(String area) {
        this.area = area;
    }

    /**
     * @return start_price
     */
    public BigDecimal getStartPrice() {
        return startPrice;
    }

    /**
     * @param startPrice
     */
    public void setStartPrice(BigDecimal startPrice) {
        this.startPrice = startPrice;
    }

    /**
     * @return end_price
     */
    public BigDecimal getEndPrice() {
        return endPrice;
    }

    /**
     * @param endPrice
     */
    public void setEndPrice(BigDecimal endPrice) {
        this.endPrice = endPrice;
    }

    /**
     * @return remarks
     */
    public String getRemarks() {
        return remarks;
    }

    /**
     * @param remarks
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    /**
     * 获取店铺id
     *
     * @return shop_id - 店铺id
     */
    public Integer getShopId() {
        return shopId;
    }

    /**
     * 设置店铺id
     *
     * @param shopId 店铺id
     */
    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }
}